package com.heima.behavior.service;

import com.heima.model.behavior.dtos.ReadBehaviorDto;
import com.heima.model.behavior.dtos.UnLikeBehaviorDto;
import com.heima.model.common.dtos.ResponseResult;

import com.heima.model.behavior.dtos.LikeBehaviorDTO;
import com.heima.model.behavior.dtos.LoadArticleBehaviorDTO;
import com.heima.model.common.dtos.ResponseResult;

/**
 * @author:Dikk
 * @create: 2023-08-02 16:50
 * @Description: BehaviorService
 */
public interface BehaviorService {
    /**
     * 阅读次数
     * @param readBehaviorDto
     * @return
     */
    ResponseResult readBehavior(ReadBehaviorDto readBehaviorDto);

    /**
     * 不喜欢
     * @param dto
     * @return
     */
     ResponseResult unLikeBehavior(UnLikeBehaviorDto dto) ;

    /**
     * 是否点赞文章
     *
     * @param likeBehaviorDTO
     * @return
     */
    ResponseResult likesBehavior(LikeBehaviorDTO likeBehaviorDTO);

}
